﻿<UserControl x:Class="UI.Web.Silverlight.Demo.Views.AddCustomerView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <sdk:Label Content="姓名：" Height="28" HorizontalAlignment="Left" Margin="2,0,0,0" Name="label2" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="38,0,0,0" Name="textBox1" Width="120" Text="" />
        <sdk:Label Content="年龄：" Grid.Row="1" Height="28" HorizontalAlignment="Left" Margin="2,0,0,0" Name="label3" />
        <TextBox Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="38,0,0,0" Name="textBox2" Width="120" Text=""/>
        <Button Content="提交" Command="{Binding AddCustomerCommmand}" Grid.Row="2" Height="23" HorizontalAlignment="Left" Margin="40,17,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />

    </Grid>
</UserControl>
